package Job05;

public class Juicer {
    public String juicing(Apple apple){
        apple.color = "绿色";
        apple.name = "苹果";
        apple.taste = "酸酸的";
        System.out.println(apple.color+ "颜色的" +apple.name+ "水果,味道" +apple.taste);

        return null;
    }
    public String juicing(Apple apple,Banana banana){
        apple.color = "黄色";
        banana.name = "香蕉";
        apple.name = "苹果";
        apple.taste = "酸酸甜甜的";
        System.out.println(apple.color+ "颜色的" +banana.name+apple.name+ "水果,味道" +apple.taste);

        return null;
    }
    public String juicing(Apple apple,int num){
        apple.color = "绿色";
        apple.name = "苹果";
        apple.taste = "酸酸的";
        System.out.println(num+ "杯," +apple.color+ "颜色的" +apple.name+ "水果,味道" +apple.taste);

        return null;
    }
}
